function count(state=[],action){
    let newstate=JSON.parse(JSON.stringify(state))
    switch(action.type){
        case "Setcount":
            console.log(111);
            newstate=action.data
            return newstate
        default :
        return state
    }
}

export default count